import {Popover} from 'antd'
import {ReactNode} from 'react'

// type AntPopoverPropsType = {
//     children: ReactNode,
//     title: string,
//     content: ReactNode
// }

const AntPopover = ({children, title, content}) => {


    return (
        <Popover content={content} title={title} trigger="click">
            {children}
        </Popover>
    )
}

export default AntPopover